/*
 * Copyright (c) 2016 UBG - 版权所有
 * 
 * This software is the confidential and proprietary information of
 * UBG. You shall not disclose such confidential information 
 * and shall use it only in accordance with the terms of the license 
 * agreement you entered into with www.7qjf.com.
 */
package bigdata.mappingproperties;

import java.util.Properties;

/**
 *
 * 描述: properties工具类
 *
 * @since   v1.0.0
 */
public class BaseProperties {
    public String path = "";

    public BaseProperties(){}

    public Properties getProperties() {
        return PropertiesUtils.init(path);
    }
    public String getValue(String key) {
        Object obj = getProperties().get(key);
        return obj == null?"":obj.toString();
    }

}
